﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

namespace Novice.Services.Step2
{
    /// <summary>
    /// Summary description for CallClassification
    /// </summary>
    [WebService(Namespace = "http://soaiui.nmmu.ac.za")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class CallClassification : System.Web.Services.WebService
    {

        //May have to seperate CallCategorisation method into seperate methods for each of the enum items to be accessible via a user interface.
        public enum priority { Priority, Priority1, Priority2 }
        public enum severity { Severity, Severity1, Severity2 }
        public enum source { Source, Source1, Source2 }

        [WebMethod]
        public string Classification(priority p, severity s1, source s2)
        {
            return "Hello World";
        }
    }
}
